<%--
  Created by IntelliJ IDEA.
  User: 24207
  Date: 2020/5/16
  Time: 10:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>测试页面</title>
    <!-- 引入VUE -->
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <h1>test</h1>
    <h2>测试更新捐赠者</h2>
    <form action="updateDonator" method="post">
        id: <br>
        <input type="text" name="id"> <br>
        性名：<br>
        <input type="text" name="name"> <br>
        <button>提交</button> <br>
    </form>
    <h2> -----分割线------</h2>
    <h2>测试删除捐赠者</h2>
    <form action="deleteDonator?id=3" method="post">
        <button>删除id为3的捐赠者</button>
    </form>
    <h2> -----分割线------</h2>
    <div id = "testVue">
        {{ myname }}
    </div>
</body>
<script>
    var app = new Vue({
        el:"#testVue",
        data:{
            myname:"lzk"
        }
    })
</script>
</html>
